package archforce.atp.x.ssh.entity;

import com.alibaba.fastjson.JSON;

import java.io.Serializable;
import java.util.List;

/**
 * @author wx
 * @version 1.0
 * @date 2022/4/27 11:16
 */
public class JumpMappingConfig implements Serializable {

    private List<PortMappingEntity> mappingPortConfig;
    private JumpConfig jumpConfig;

    public JumpMappingConfig(JumpConfig jumpConfig, List<PortMappingEntity> mappingPortConfig) {
        this.mappingPortConfig = mappingPortConfig;
        this.jumpConfig = jumpConfig;
    }

    public List<PortMappingEntity> getMappingPortConfig() {
        return mappingPortConfig;
    }

    public void setMappingPortConfig(List<PortMappingEntity> mappingPortConfig) {
        this.mappingPortConfig = mappingPortConfig;
    }

    public JumpConfig getJumpConfig() {
        return jumpConfig;
    }

    public void setJumpConfig(JumpConfig jumpConfig) {
        this.jumpConfig = jumpConfig;
    }

    @Override
    public String toString() {
        return JSON.toJSONString(this, true);
    }
}
